<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <link rel="icon" href="public/favicon.ico" />
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title> 365工厂平台 </title>
  <link rel="stylesheet" type="text/css" href="src/assets/css/application.css">
  <script src="https://unpkg.com/vue@3.0.5/dist/vue.global.js"></script>
  <script src="https://unpkg.com/vue-router@4.0.3/dist/vue-router.global.js"></script>
  <script src="https://unpkg.com/vuex@4.0.0-rc.2/dist/vuex.global.js"></script>
  <link href="https://unpkg.com/element-plus@1.0.2-beta.30/lib/theme-chalk/index.css" rel="stylesheet">
  <script src="https://unpkg.com/element-plus@1.0.2-beta.30/lib/index.full.js"></script>
  <!--axios-->
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>

  <!-- Swiper 7 -->
  <link rel="stylesheet" href="https://unpkg.com/swiper@7.4.1/swiper-bundle.min.css">
  <script src="https://unpkg.com/swiper@7.4.1/swiper-bundle.min.js"> </script>

  <script src="./src/assets/js/less.min.js"></script>
  <script type="text/javascript">
    // 目录
    let catalogue = '/muruji'

    // src 目录设置
    let basrUrl = catalogue + '/src/'
    // 环境部署判断 未完善
    switch (window.location.origin) {
      // src 目录设置
      case 'http://192.168.40.51': // 九航
        basrUrl = catalogue + '/src/'
        console.log('九航:',window.location.origin)
        break;
      case 'http://localhost': // mac
        catalogue = '/SenShi/factory'
        basrUrl = catalogue + '/src/'
        console.log('mac:',window.location.origin)
        break;
      default:
        // src 目录设置
        basrUrl = catalogue + '/src/'
    }
    window.__ver = '?v=1'
    window.__basrUrl = basrUrl
  </script>
  <script type="module" src="src/script/appImport.js"></script>
</head>

<body>
  <div id="app">
    <Navigation></Navigation>
    <div id="main">
      <router-view></router-view>
    </div>
    <footer-com></footer-com>
    <script type="module" src="src/main.js?v=1"></script>
</body>

</html>